﻿using System;
using System.Web.UI;
using CRMCommon;

public partial class Search : Page
{
    #region Members

    private readonly Controller _controller = new Controller();

    #endregion

    #region Event Handlers

    protected void Page_Load(object sender, EventArgs e)
    {
        //SetConnectionString();
        //ASPxDataView.DataSource = _controller.GetClients(ASPxScheduler.ActiveView.GetVisibleIntervals().Start, ASPxScheduler.ActiveView.GetVisibleIntervals().End);
        //ASPxDataView.DataMember = "Cliente";
        //DataBind();
    }

    private void SetConnectionString()
    {
        //_controller.SetupConnection(ConfigurationManager.AppSettings["FonteDados"], ConfigurationManager.AppSettings["NomeBaseDados"], ConfigurationManager.AppSettings["User"], ConfigurationManager.AppSettings["Password"]);
    }

    #endregion

    #region Private Methods
    #endregion
}
